<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LiftSimu: /Users/alrik/Documents/workspace/LiftSimu/src/layout/TableLayoutConstraints.java Quellcode</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="up.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LiftSimu
   
   </div>
   <div id="projectbrief">die Simulation einer Liftanlage</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Erzeugt von Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Suchen');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hauptseite</span></a></li>
      <li><a href="namespaces.html"><span>Pakete</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Dateien</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Suchen" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Auflistung&#160;der&#160;Dateien</span></a></li>
    </ul>
  </div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Alle</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klassen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namensbereiche</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Dateien</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funktionen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variablen</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">/Users/alrik/Documents/workspace/LiftSimu/src/layout/TableLayoutConstraints.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_table_layout_constraints_8java.html">gehe zur Dokumentation dieser Datei</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">package </span>layout;
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="keyword">import</span> java.awt.*;
<a name="l00006"></a>00006 <span class="keyword">import</span> java.util.*;
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 
<a name="l00017"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html">00017</a> <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classlayout_1_1_table_layout_constraints.html">TableLayoutConstraints</a> <span class="keyword">implements</span> <a class="code" href="interfacelayout_1_1_table_layout_constants.html">TableLayoutConstants</a>
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 
<a name="l00023"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">00023</a> <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>, row1;
<a name="l00024"></a>00024 
<a name="l00026"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">00026</a> <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a>, row2;
<a name="l00027"></a>00027 
<a name="l00029"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">00029</a> <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a>;
<a name="l00030"></a>00030 
<a name="l00032"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">00032</a> <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a>;
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 
<a name="l00041"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a0d73fa3f4c667ebe513cbfd3153d61f9">00041</a> <span class="keyword">public</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a0d73fa3f4c667ebe513cbfd3153d61f9">TableLayoutConstraints</a> ()
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043     <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a> = row1 = <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = 0;
<a name="l00044"></a>00044     <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00045"></a>00045 }
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00060"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a866db750c132b70d6cf88b5ad544dea0">00060</a> <span class="keyword">public</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a0d73fa3f4c667ebe513cbfd3153d61f9">TableLayoutConstraints</a> (String constraints)
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062     <span class="comment">// Parse constraints using spaces or commas</span>
<a name="l00063"></a>00063     StringTokenizer st = <span class="keyword">new</span> StringTokenizer(constraints, <span class="stringliteral">&quot;, &quot;</span>);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065     <span class="comment">// Use default values for any parameter not specified or specified</span>
<a name="l00066"></a>00066     <span class="comment">// incorrectly.  The default parameters place the component in a single</span>
<a name="l00067"></a>00067     <span class="comment">// cell at column 0, row 0.  The component is fully justified.</span>
<a name="l00068"></a>00068     <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a> = 0;
<a name="l00069"></a>00069     row1 = 0;
<a name="l00070"></a>00070     <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = 0;
<a name="l00071"></a>00071     row2 = 0;
<a name="l00072"></a>00072     <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00073"></a>00073     <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00074"></a>00074 
<a name="l00075"></a>00075     String token = null;
<a name="l00076"></a>00076 
<a name="l00077"></a>00077     <span class="keywordflow">try</span>
<a name="l00078"></a>00078     {
<a name="l00079"></a>00079         <span class="comment">// Get the first column (assume component is in only one column)</span>
<a name="l00080"></a>00080         token = st.nextToken();
<a name="l00081"></a>00081         <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a> = <span class="keyword">new</span> Integer(token).intValue();
<a name="l00082"></a>00082         <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>;
<a name="l00083"></a>00083 
<a name="l00084"></a>00084         <span class="comment">// Get the first row (assume component is in only one row)</span>
<a name="l00085"></a>00085         token = st.nextToken();
<a name="l00086"></a>00086         row1 = <span class="keyword">new</span> Integer(token).intValue();
<a name="l00087"></a>00087         row2 = row1;
<a name="l00088"></a>00088 
<a name="l00089"></a>00089         <span class="comment">// Get the second column</span>
<a name="l00090"></a>00090         token = st.nextToken();
<a name="l00091"></a>00091         <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = <span class="keyword">new</span> Integer(token).intValue();
<a name="l00092"></a>00092 
<a name="l00093"></a>00093         <span class="comment">// Get the second row</span>
<a name="l00094"></a>00094         token = st.nextToken();
<a name="l00095"></a>00095         row2 = <span class="keyword">new</span> Integer(token).intValue();
<a name="l00096"></a>00096     }
<a name="l00097"></a>00097     <span class="keywordflow">catch</span> (NoSuchElementException error) {}
<a name="l00098"></a>00098     <span class="keywordflow">catch</span> (NumberFormatException error)
<a name="l00099"></a>00099     {
<a name="l00100"></a>00100         <span class="keywordflow">try</span>
<a name="l00101"></a>00101         {
<a name="l00102"></a>00102             <span class="comment">// Check if token means horizontally justification the component</span>
<a name="l00103"></a>00103             <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;L&quot;</span>))
<a name="l00104"></a>00104                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a614003b57ce5c528b0c29200767e8e18">LEFT</a>;
<a name="l00105"></a>00105             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;C&quot;</span>))
<a name="l00106"></a>00106                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#afa0132dbc29364ef6ed9be501a16eb13">CENTER</a>;
<a name="l00107"></a>00107             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;F&quot;</span>))
<a name="l00108"></a>00108                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00109"></a>00109             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;R&quot;</span>))
<a name="l00110"></a>00110                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a3ca26ce63223a3c4020e9734108cf71f">RIGHT</a>;
<a name="l00111"></a>00111 
<a name="l00112"></a>00112             <span class="comment">// There can be one more token for the vertical justification even</span>
<a name="l00113"></a>00113             <span class="comment">// if the horizontal justification is invalid</span>
<a name="l00114"></a>00114             token = st.nextToken();
<a name="l00115"></a>00115 
<a name="l00116"></a>00116             <span class="comment">// Check if token means horizontally justification the component</span>
<a name="l00117"></a>00117             <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;T&quot;</span>))
<a name="l00118"></a>00118                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a50156a688c382133e0edc8f84ece232b">TOP</a>;
<a name="l00119"></a>00119             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;C&quot;</span>))
<a name="l00120"></a>00120                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#afa0132dbc29364ef6ed9be501a16eb13">CENTER</a>;
<a name="l00121"></a>00121             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;F&quot;</span>))
<a name="l00122"></a>00122                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00123"></a>00123             <span class="keywordflow">else</span> <span class="keywordflow">if</span> (token.equalsIgnoreCase(<span class="stringliteral">&quot;B&quot;</span>))
<a name="l00124"></a>00124                 <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a> = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#ae87e9372dbed50839961f98bec601f01">BOTTOM</a>;
<a name="l00125"></a>00125         }
<a name="l00126"></a>00126         <span class="keywordflow">catch</span> (NoSuchElementException error2) {}
<a name="l00127"></a>00127     }
<a name="l00128"></a>00128 
<a name="l00129"></a>00129     <span class="comment">// Make sure row2 &gt;= row1</span>
<a name="l00130"></a>00130     <span class="keywordflow">if</span> (row2 &lt; row1)
<a name="l00131"></a>00131         row2 = row1;
<a name="l00132"></a>00132 
<a name="l00133"></a>00133     <span class="comment">// Make sure col2 &gt;= col1</span>
<a name="l00134"></a>00134     <span class="keywordflow">if</span> (<a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> &lt; <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>)
<a name="l00135"></a>00135         <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a> = <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>;
<a name="l00136"></a>00136 }
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 
<a name="l00139"></a>00139 
<a name="l00151"></a>00151 <span class="keyword">public</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a0d73fa3f4c667ebe513cbfd3153d61f9">TableLayoutConstraints</a>
<a name="l00152"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a8f8fd37b1ad8a505e6254d607e987d2f">00152</a>     (<span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>, <span class="keywordtype">int</span> row1, <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a>, <span class="keywordtype">int</span> row2, <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a>, <span class="keywordtype">int</span> <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a>)
<a name="l00153"></a>00153 {
<a name="l00154"></a>00154     this.col1 = <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae5a0b05c1d6f2a377af3efa143123dd8">col1</a>;
<a name="l00155"></a>00155     this.row1 = row1;
<a name="l00156"></a>00156     this.col2 = <a class="code" href="classlayout_1_1_table_layout_constraints.html#a11761994561cfd09daf3ff65c7dc8686">col2</a>;
<a name="l00157"></a>00157     this.row2 = row2;
<a name="l00158"></a>00158     
<a name="l00159"></a>00159     <span class="keywordflow">if</span> ((hAlign &lt; <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a7b7042b99a6f6c632e44769e6c855ffd">MIN_ALIGN</a>) || (hAlign &gt; <a class="code" href="interfacelayout_1_1_table_layout_constants.html#ae425f6f4a5875714b7cc0a560648056e">MAX_ALIGN</a>))
<a name="l00160"></a>00160         this.hAlign = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00161"></a>00161     <span class="keywordflow">else</span>
<a name="l00162"></a>00162         this.hAlign = <a class="code" href="classlayout_1_1_table_layout_constraints.html#a4a16aa1b2c1118ee4a5b9665d54be16e">hAlign</a>;
<a name="l00163"></a>00163 
<a name="l00164"></a>00164     <span class="keywordflow">if</span> ((vAlign &lt; <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a7b7042b99a6f6c632e44769e6c855ffd">MIN_ALIGN</a>) || (vAlign &gt; <a class="code" href="interfacelayout_1_1_table_layout_constants.html#ae425f6f4a5875714b7cc0a560648056e">MAX_ALIGN</a>))
<a name="l00165"></a>00165         this.vAlign = <a class="code" href="interfacelayout_1_1_table_layout_constants.html#a5983eba1cfbcc4108385c0cb46b6f997">FULL</a>;
<a name="l00166"></a>00166     <span class="keywordflow">else</span>
<a name="l00167"></a>00167         this.vAlign = <a class="code" href="classlayout_1_1_table_layout_constraints.html#ae47d598b69860653f3a076ddd43b593a">vAlign</a>;
<a name="l00168"></a>00168 }
<a name="l00169"></a>00169 
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 
<a name="l00179"></a><a class="code" href="classlayout_1_1_table_layout_constraints.html#a8b19a86cffba1bd1e9424feba74cf64f">00179</a> <span class="keyword">public</span> String <a class="code" href="classlayout_1_1_table_layout_constraints.html#a8b19a86cffba1bd1e9424feba74cf64f">toString</a> ()
<a name="l00180"></a>00180 {
<a name="l00181"></a>00181     StringBuffer buffer = <span class="keyword">new</span> StringBuffer();
<a name="l00182"></a>00182     
<a name="l00183"></a>00183     buffer.append (row1);
<a name="l00184"></a>00184     buffer.append (<span class="stringliteral">&quot;, &quot;</span>);
<a name="l00185"></a>00185     buffer.append (col1);
<a name="l00186"></a>00186     buffer.append (<span class="stringliteral">&quot;, &quot;</span>);
<a name="l00187"></a>00187     
<a name="l00188"></a>00188     <span class="keywordflow">if</span> ((row1 == row2) &amp;&amp; (col1 == col2))
<a name="l00189"></a>00189     {
<a name="l00190"></a>00190         <span class="keyword">final</span> <span class="keywordtype">char</span> h[] = {<span class="charliteral">&#39;L&#39;</span>, <span class="charliteral">&#39;C&#39;</span>, <span class="charliteral">&#39;F&#39;</span>, <span class="charliteral">&#39;R&#39;</span>};
<a name="l00191"></a>00191         <span class="keyword">final</span> <span class="keywordtype">char</span> v[] = {<span class="charliteral">&#39;T&#39;</span>, <span class="charliteral">&#39;C&#39;</span>, <span class="charliteral">&#39;F&#39;</span>, <span class="charliteral">&#39;B&#39;</span>};
<a name="l00192"></a>00192         
<a name="l00193"></a>00193         buffer.append (h[hAlign]);
<a name="l00194"></a>00194         buffer.append (<span class="stringliteral">&quot;, &quot;</span>);
<a name="l00195"></a>00195         buffer.append (v[vAlign]);
<a name="l00196"></a>00196     }
<a name="l00197"></a>00197     <span class="keywordflow">else</span>
<a name="l00198"></a>00198     {
<a name="l00199"></a>00199         buffer.append (row2);
<a name="l00200"></a>00200         buffer.append (<span class="stringliteral">&quot;, &quot;</span>);
<a name="l00201"></a>00201         buffer.append (col2);
<a name="l00202"></a>00202     }
<a name="l00203"></a>00203     
<a name="l00204"></a>00204     <span class="keywordflow">return</span> buffer.toString();
<a name="l00205"></a>00205 }
<a name="l00206"></a>00206 
<a name="l00207"></a>00207 
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 }
</pre></div></div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Erzeugt am Don Mai 31 2012 19:39:18 für LiftSimu von &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
